package server.servlet;

import server.http.Request;
import server.http.Response;

public interface Servlet {

    void init() throws Exception;

    /**
     * 销毁
     */
    void destroy();

    void service(Request request, Response response);
}
